<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta
			name="viewport"
			content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"
		/>
		<meta name="format-detection" content="telephone=no" />
		<meta name="format-detection" content="email=no" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<title>领取血糖仪</title>
		<!-- 引入 vant UI 组件库样式文件 -->
		<link rel="stylesheet" href="../common/css/vant-index.css" />
		<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
		<!-- <link rel="stylesheet" type="text/css" href="../css/baseInfo.css" /> -->
		<style>
			body {
				background-color: #f3f3f5;
			}
			p {
				text-align: center;
				color: #333;
				font-size: 0.33rem;
				line-height: 0.6rem;
			}
			.container {
				display: flex;
				align-items: center;
				flex-direction: column;
			}
			img {
				margin-top: 3.125rem;
				margin-bottom: 0.375rem;
				width: 3.33rem;
				height: 3.33rem;
			}
		</style>
	</head>

	<body>
		<div id="app" v-cloak>
			<div class="container">
				<div>
					<img v-if="status == 1" src="img/ok.png" />
					<img v-else src="img/warning.png" />
				</div>
				<p v-if="status == 1">您已完成血糖仪发放</p>
				<p v-else>
					该患者已于2022/06/08领取血糖仪<br />
					<span style="font-size: 0.33rem; color: #e20e30">请勿重复发放</span>
				</p>
			</div>
		</div>
	</body>
	<!-- 上线环境用 -->
	<script src="../../base.js"></script>
	<script src="../../common/js/vue.global.prod.js"></script>
	<!-- 引入 UI 组件库 -->
	<script src="../../common/js/vant.min.js"></script>
	<!-- axios 接口调用 -->
	<script src="../../common/js/axios.min.js"></script>
	<script src="../../common/js/rem.js"></script>
	<script src="../../common/js/url.min.js"></script>

	<script type="module">
		import {
			getAction,
			postAction,
			spliceUrl,
		} from '../../common/js/api/vue3-axios-utils.js'
		const baseInfo = {
			data() {
				return {
					detail: {},
					status: 0,
				}
			},
			computed: {},
			created() {},
			methods: {},
		}

		const app = Vue.createApp(baseInfo)

		app.use(vant)
		// 通过 CDN 引入时不会自动注册 Lazyload 组件
		// 可以通过下面的方式手动注册
		app.use(vant.Lazyload)
		app.use(vant.Popup)

		// 调用函数组件，弹出一个 Toast
		// vant.Toast("刷新成功");
		app.mount('#app')
	</script>
</html>
